package gui.main;
import java.awt.Canvas;

import java.awt.Dimension;
import javax.swing.ImageIcon;

import javax.swing.WindowConstants;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JSeparator;

/**
* This code was edited or generated using CloudGarden's Jigloo
* SWT/Swing GUI Builder, which is free for non-commercial
* use. If Jigloo is being used commercially (ie, by a corporation,
* company or business for any purpose whatever) then you
* should purchase a license for each developer using Jigloo.
* Please visit www.cloudgarden.com for details.
* Use of Jigloo implies acceptance of these licensing terms.
* A COMMERCIAL LICENSE HAS NOT BEEN PURCHASED FOR
* THIS MACHINE, SO JIGLOO OR THIS CODE CANNOT BE USED
* LEGALLY FOR ANY CORPORATE OR COMMERCIAL PURPOSE.
*/
public class AboutJPanel extends javax.swing.JPanel {
	private JPanel loghijPanel;
	private JLabel skypejLabel;
	private JLabel websitejLabel;
	private JSeparator jSeparator2;
	private JLabel mailjLabel;
	private JLabel jLabel1;
	private JLabel numeriTelefonojLabel;
	private JSeparator jSeparator1;
	private JLabel infoSviluppjLabel;
	private JLabel logoCSDjLabel;
	private JPanel sviluppatorejPanel;
	private JLabel infoSoftware2jLabel;
	private JLabel infoSoftwarejLabel;
	private JLabel logoProgrammajLabel;

	{
		//Set Look & Feel
		try {
			javax.swing.UIManager.setLookAndFeel("com.jgoodies.looks.plastic.PlasticXPLookAndFeel");
		} catch(Exception e) {
			e.printStackTrace();
		}
	}


	/**
	* Auto-generated main method to display this 
	* JPanel inside a new JFrame.
	*/
	public static void main(String[] args) {
		JFrame frame = new JFrame();
		frame.getContentPane().add(new AboutJPanel());
		frame.setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
		frame.pack();
		frame.setVisible(true);
	}
	
	public AboutJPanel() {
		super();
		initGUI();
	}
	
	private void initGUI() {
		try {
			this.setPreferredSize(new java.awt.Dimension(379, 374));
			{
				loghijPanel = new JPanel();
				this.add(loghijPanel);
				loghijPanel.setPreferredSize(new java.awt.Dimension(348, 141));
				{
					logoProgrammajLabel = new JLabel();
					loghijPanel.add(logoProgrammajLabel);
					logoProgrammajLabel.setIcon(new ImageIcon(getClass().getClassLoader().getResource("images/wallpaper/logo.png")));
				}
				{
					infoSoftwarejLabel = new JLabel();
					loghijPanel.add(infoSoftwarejLabel);
					infoSoftwarejLabel.setText("Un programma per la gestione dei clienti ");
					infoSoftwarejLabel.setFont(new java.awt.Font("Segoe UI",3,12));
				}
				{
					infoSoftware2jLabel = new JLabel();
					loghijPanel.add(infoSoftware2jLabel);
					infoSoftware2jLabel.setText("e delle manutenzioni delle caldaie.");
					infoSoftware2jLabel.setFont(new java.awt.Font("Segoe UI",3,12));
				}
				{
					jSeparator1 = new JSeparator();
					loghijPanel.add(jSeparator1);
					jSeparator1.setPreferredSize(new java.awt.Dimension(340, 10));
				}
			}
			{
				sviluppatorejPanel = new JPanel();
				this.add(sviluppatorejPanel);
				sviluppatorejPanel.setPreferredSize(new java.awt.Dimension(350, 202));
				{
					infoSviluppjLabel = new JLabel();
					sviluppatorejPanel.add(infoSviluppjLabel);
					infoSviluppjLabel.setText("Sviluppato da Marco Cozza per conto di Framini SNC");
					infoSviluppjLabel.setFont(new java.awt.Font("Segoe UI",3,12));
					infoSviluppjLabel.setPreferredSize(new java.awt.Dimension(302, 16));
					infoSviluppjLabel.setForeground(new java.awt.Color(0,0,128));
				}
				{
					numeriTelefonojLabel = new JLabel();
					sviluppatorejPanel.add(numeriTelefonojLabel);
					numeriTelefonojLabel.setText("388.1915856");
					numeriTelefonojLabel.setIcon(new ImageIcon(getClass().getClassLoader().getResource("images/icons/tel.png")));
					numeriTelefonojLabel.setFont(new java.awt.Font("Segoe UI",3,12));
					numeriTelefonojLabel.setForeground(new java.awt.Color(0,0,128));
				}
				{
					jLabel1 = new JLabel();
					sviluppatorejPanel.add(jLabel1);
					jLabel1.setText("347.8009694");
					jLabel1.setIcon(new ImageIcon(getClass().getClassLoader().getResource("images/icons/tel.png")));
					jLabel1.setFont(new java.awt.Font("Segoe UI",3,12));
					jLabel1.setPreferredSize(new java.awt.Dimension(109, 32));
					jLabel1.setForeground(new java.awt.Color(0,0,128));
				}
				{
					mailjLabel = new JLabel();
					sviluppatorejPanel.add(mailjLabel);
					mailjLabel.setText("marko-cozza@tiscali.it");
					mailjLabel.setIcon(new ImageIcon(getClass().getClassLoader().getResource("images/icons/mail32.png")));
					mailjLabel.setFont(new java.awt.Font("Segoe UI",3,12));
					mailjLabel.setForeground(new java.awt.Color(0,0,128));
				}
				{
					skypejLabel = new JLabel();
					sviluppatorejPanel.add(skypejLabel);
					skypejLabel.setText("markmeisterdj");
					skypejLabel.setIcon(new ImageIcon(getClass().getClassLoader().getResource("images/icons/skype32.png")));
					skypejLabel.setPreferredSize(new java.awt.Dimension(118, 32));
					skypejLabel.setFont(new java.awt.Font("Segoe UI",3,12));
					skypejLabel.setForeground(new java.awt.Color(0,0,128));
				}
				{
					jSeparator2 = new JSeparator();
					sviluppatorejPanel.add(jSeparator2);
					jSeparator2.setPreferredSize(new java.awt.Dimension(314, 8));
				}
				{
					logoCSDjLabel = new JLabel();
					sviluppatorejPanel.add(logoCSDjLabel);
					logoCSDjLabel.setIcon(new ImageIcon(getClass().getClassLoader().getResource("images/wallpaper/logo_web.png")));
					logoCSDjLabel.setPreferredSize(new java.awt.Dimension(289, 63));
				}
				{
					websitejLabel = new JLabel();
					sviluppatorejPanel.add(websitejLabel);
					websitejLabel.setText("http://cookiesoftdesign.altervista.org/");
					websitejLabel.setFont(new java.awt.Font("Segoe UI",3,12));
					websitejLabel.setForeground(new java.awt.Color(128,0,0));
					websitejLabel.setPreferredSize(new java.awt.Dimension(223, 16));
				}
			}
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

}
